package com.anycl.design.behavioral.observer.instance;

public class Main {
    public static void main(String[] args) {
        Platform platform = new Platform();
        IReader readerA = new Reader("A");
        IReader readerB = new Reader("B");

        platform.attach(readerA);
        platform.attach(readerB);
        platform.change("Java");
    }
}
